import {createThunkAction} from "../../lib/redux-utils";
import {postJson} from "../../lib/http";

const path = "/orderAnalysis";
const ACTION_PREFIX = "PROFIT_ANAL.";
export const query = createThunkAction(ACTION_PREFIX + "QUERY", params => postJson(path + "/ghOrderYearCount", params));
